﻿// =================================================================== 
// 项目说明
//====================================================================
// 天网软件股份有限公司
// 文件： UR_REPORTTEMPLATE.cs
// 项目名称：企业内部管理信息系统

// 创建时间：2013/3/19
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace TWCommonLib.Model
{
	/// <summary>
	///(UR_REPORTTEMPLATE)数据实体
	/// </summary>
	[Serializable]
	public class UR_REPORTTEMPLATE
	{
		#region 变量定义
		
		///<summary>
		///
		///</summary>
		private int _tEMPLATE_ID;
		
		///<summary>
		///
		///</summary>
		private int _rEPORTTYPE_ID;
		
		///<summary>
		///
		///</summary>
		private string _tEMPLATE_NAME = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _fILE_CONTENT = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _tEMPLATE_FILE = String.Empty;
		
		///<summary>
		///
		///</summary>
		private int _tEMPLATE_TYPE;
		
		///<summary>
		///
		///</summary>
		private string _rEPLACE_OPTION = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _uSE_RANGE = String.Empty;
		
		///<summary>
		///
		///</summary>
		private byte[] _tEMPLATE;
		
		///<summary>
		///
		///</summary>
		private short _sUB_SYSTEM;
		
		///<summary>
		///
		///</summary>
		private string _cLASS1 = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _cLASS2 = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _cLASS3 = String.Empty;
		
		///<summary>
		///
		///</summary>
		private string _rEMARK = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///的构造函数，默认值通过数据库的default取得
		///</summary>
		public UR_REPORTTEMPLATE()
		{
			_tEMPLATE_TYPE=((1));
			_uSE_RANGE=("0");
 
		}
		///<summary>
		///
		///</summary>
		public UR_REPORTTEMPLATE
		(
			int tEMPLATE_ID,
			int rEPORTTYPE_ID,
			string tEMPLATE_NAME,
			string fILE_CONTENT,
			string tEMPLATE_FILE,
			int tEMPLATE_TYPE,
			string rEPLACE_OPTION,
			string uSE_RANGE,
			byte[] tEMPLATE,
			short sUB_SYSTEM,
			string cLASS1,
			string cLASS2,
			string cLASS3,
			string rEMARK
		)
		{
			_tEMPLATE_ID    = tEMPLATE_ID;
			_rEPORTTYPE_ID  = rEPORTTYPE_ID;
			_tEMPLATE_NAME  = tEMPLATE_NAME;
			_fILE_CONTENT   = fILE_CONTENT;
			_tEMPLATE_FILE  = tEMPLATE_FILE;
			_tEMPLATE_TYPE  = tEMPLATE_TYPE;
			_rEPLACE_OPTION = rEPLACE_OPTION;
			_uSE_RANGE      = uSE_RANGE;
			_tEMPLATE       = tEMPLATE;
			_sUB_SYSTEM     = sUB_SYSTEM;
			_cLASS1         = cLASS1;
			_cLASS2         = cLASS2;
			_cLASS3         = cLASS3;
			_rEMARK         = rEMARK;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///
		///</summary>
		public int TEMPLATE_ID
		{
			get {return _tEMPLATE_ID;}
			set {_tEMPLATE_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int REPORTTYPE_ID
		{
			get {return _rEPORTTYPE_ID;}
			set {_rEPORTTYPE_ID = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string TEMPLATE_NAME
		{
			get {return _tEMPLATE_NAME;}
			set {_tEMPLATE_NAME = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string FILE_CONTENT
		{
			get {return _fILE_CONTENT;}
			set {_fILE_CONTENT = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string TEMPLATE_FILE
		{
			get {return _tEMPLATE_FILE;}
			set {_tEMPLATE_FILE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public int TEMPLATE_TYPE
		{
			get {return _tEMPLATE_TYPE;}
			set {_tEMPLATE_TYPE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string REPLACE_OPTION
		{
			get {return _rEPLACE_OPTION;}
			set {_rEPLACE_OPTION = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string USE_RANGE
		{
			get {return _uSE_RANGE;}
			set {_uSE_RANGE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public byte[] TEMPLATE
		{
			get {return _tEMPLATE;}
			set {_tEMPLATE = value;}
		}

		
		///<summary>
		///
		///</summary>
		public short SUB_SYSTEM
		{
			get {return _sUB_SYSTEM;}
			set {_sUB_SYSTEM = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string CLASS1
		{
			get {return _cLASS1;}
			set {_cLASS1 = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string CLASS2
		{
			get {return _cLASS2;}
			set {_cLASS2 = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string CLASS3
		{
			get {return _cLASS3;}
			set {_cLASS3 = value;}
		}

		
		///<summary>
		///
		///</summary>
		public string REMARK
		{
			get {return _rEMARK;}
			set {_rEMARK = value;}
		}
	
		#endregion
		
	}
}
